package com.ruoyi.compensationManagement.mapper;

import java.util.List;
import com.ruoyi.compensationManagement.domain.CompensationDeductionAmountSettings;

/**
 * 扣款金额设置Mapper接口
 * 
 * @author ruoyi
 * @date 2022-10-05
 */
public interface CompensationDeductionAmountSettingsMapper 
{
    /**
     * 查询扣款金额设置
     * 
     * @param id 扣款金额设置主键
     * @return 扣款金额设置
     */
    public CompensationDeductionAmountSettings selectCompensationDeductionAmountSettingsById(Long id);

    /**
     * 查询扣款金额设置列表
     * 
     * @param compensationDeductionAmountSettings 扣款金额设置
     * @return 扣款金额设置集合
     */
    public List<CompensationDeductionAmountSettings> selectCompensationDeductionAmountSettingsList(CompensationDeductionAmountSettings compensationDeductionAmountSettings);

    /**
     * 新增扣款金额设置
     * 
     * @param compensationDeductionAmountSettings 扣款金额设置
     * @return 结果
     */
    public int insertCompensationDeductionAmountSettings(CompensationDeductionAmountSettings compensationDeductionAmountSettings);

    /**
     * 修改扣款金额设置
     * 
     * @param compensationDeductionAmountSettings 扣款金额设置
     * @return 结果
     */
    public int updateCompensationDeductionAmountSettings(CompensationDeductionAmountSettings compensationDeductionAmountSettings);

    /**
     * 删除扣款金额设置
     * 
     * @param id 扣款金额设置主键
     * @return 结果
     */
    public int deleteCompensationDeductionAmountSettingsById(Long id);

    /**
     * 批量删除扣款金额设置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCompensationDeductionAmountSettingsByIds(Long[] ids);
}
